$OpenBSD: patch-HDBC-mysql_cabal,v 1.4 2016/11/07 13:42:16 dcoppa Exp $
--- HDBC-mysql.cabal.orig	Sun Nov  6 01:36:23 2016
+++ HDBC-mysql.cabal	Mon Nov  7 14:37:46 2016
@@ -12,7 +12,7 @@ homepage:         http://github.com/ryantm/hdbc-mysql
 bug-reports:      http://github.com/ryantm/hdbc-mysql/issues
 build-type:       Custom
 tested-with:      GHC
-cabal-version:    >= 1.24
+cabal-version:    >= 1.22
 description:
             This package provides a MySQL driver for HDBC, implemented via
             bindings to the C @mysqlclient@ library.
@@ -20,11 +20,6 @@ extra-source-files:
                    ChangeLog
                    README.md
 
-custom-setup
-  setup-depends:
-                base >= 4.9 && < 5,
-                Cabal >= 1.24
-
 flag debug
   description: Enable debug support
   default:     False
@@ -36,7 +31,7 @@ library
                 Database.HDBC.MySQL.RTS
   build-depends:
                 HDBC >= 2.1.0,
-                base >= 4.9 && < 5,
+                base >= 2 && < 4.9,
                 bytestring,
                 time,
                 utf8-string
